﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TI;
using TiEntityObject.Transport;

namespace TI_FTP
{
    class Program
    {
        static void Main(string[] args)
        {
            TransportConfig config = TransportConfig.ReadConfig();
            FtpLoader l = new FtpLoader(config);
            if(args.Length >0)
                l.RUN(Convert.ToDateTime (args[0]));
            else
                l.RUN(DateTime .Now );
                      
        }
    }
}
